package com.aaa.javaweb.dao.impl;

import com.aaa.javaweb.dao.PTypeDao;
import com.aaa.javaweb.until.JDBCUntil;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class PTypeDaoImpl implements PTypeDao {
    @Override
    public List<Map> selectALL() {
        String sql = "select * from t_ptype";
        return JDBCUntil.selectMap(sql);
    }
}
